@layout("/common/head.html"){
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <!--<input class="layui-input"  autocomplete="off" placeholder="父级字典" name="pid" id="pid">-->
                            <#select selectName="父级字典" id="pid" name="pid" list="${roots}" optionName="name"
                            optionValue="id"/>
                        </div>
                        <!--<div class="layui-inline layui-show-xs-block">-->
                        <!--<input class="layui-input"  autocomplete="off" placeholder="名称" name="name" id="name">-->
                        <!--</div>-->
                        <!--<div class="layui-inline layui-show-xs-block">-->
                        <!--<input class="layui-input"  autocomplete="off" placeholder="值" name="code" id="code">-->
                        <!--</div>-->
                        <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn" lay-submit="" lay-filter="search"><i
                                    class="layui-icon">&#xe615;</i></button>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header" id="toolBar">
                    <button class="layui-btn layui-btn" id="addType">
                        <i class="layui-icon">&#xe654;</i>新增字典类型
                    </button>
                    <button class="layui-btn layui-btn" id="add">
                        <i class="layui-icon">&#xe654;</i>新增字典值
                    </button>
                    <button class="layui-btn layui-btn" id="edit">
                        <i class="layui-icon">&#xe642;</i>修改
                    </button>
                    <button class="layui-btn layui-btn-danger" id="del">
                        <i class="layui-icon">&#xe640;</i>删除
                    </button>
                </div>
                <table class="layui-hide" id="tb" lay-filter="tb"></table>
                <!--<table class="layui-table layui-form" id="tree-table"></table>-->

            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modules/sys/dict/dict_index.js"></script>
@}